sudo hciconfig
sudo hcitool con
sudo hcitool -i hci0 con
sudo hcitool -i hci1 con
sudo hcitool -i hci1 scan
sudo python .simple-agent.py hci0 B0:13:08:08:13:57
sudo hcitool info B0:13:08:08:13:57
sudo hcitool con

------------------------------------------------------------------------
$ sudo hciconfig
hci0:   Type: USB
    BD Address: 00:09:DD:50:34:72 ACL MTU: 310:10 SCO MTU: 64:8
    UP RUNNING PSCAN
    RX bytes:2086 acl:1 sco:0 events:78 errors:0
    TX bytes:504 acl:1 sco:0 commands:43 errors:0

hci1:   Type: USB
    BD Address: 00:15:AF:F4:E9:E0 ACL MTU: 1021:8 SCO MTU: 64:1
    UP RUNNING PSCAN
    RX bytes:1327128 acl:81927 sco:0 events:1607 errors:0
    TX bytes:3603 acl:20 sco:0 commands:65 errors:0

$ sudo hcitool con
Connections:
    > ACL 00:07:61:8A:1A:AA handle 12 state 1 lm MASTER AUTH ENCRYPT
    > ACL 11:11:11:11:17:95 handle 11 state 1 lm MASTER

$ sudo hcitool -i hci0 con
Connections:

$ sudo hcitool -i hci1 con
Connections:
    < ACL 00:12:A1:01:04:16 handle 14 state 1 lm MASTER
    > ACL 00:07:61:8A:1A:AA handle 12 state 1 lm MASTER AUTH ENCRYPT
    > ACL 11:11:11:11:17:95 handle 11 state 1 lm MASTER

$ sudo hcitool -i hci1 scan
Scanning ...
    B0:13:08:08:13:57   Bluetooth Mouse

$ sudo python .simple-agent.py hci1 B0:13:08:08:13:57
RequestPinCode (/org/bluez/2181/hci1/dev_B0_13_08_08_13_57)
Enter PIN Code: 0000
Release
New device (/org/bluez/2181/hci1/dev_B0_13_08_08_13_57)

$ sudo hcitool info B0:13:08:08:13:57
Requesting information ...
    BD Address:  B0:13:08:08:13:57
    Device Name: Bluetooth Mouse
    LMP Version: 1.2 (0x2) LMP Subversion: 0x229
    Manufacturer: Broadcom Corporation (15)
    Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
        <encryption> <slot offset> <timing accuracy> <role switch>
        <sniff mode> <RSSI> <power control> <enhanced iscan>
        <interlaced iscan> <interlaced pscan> <AFH cap. slave>

